Makefile: refactor build/clean/distclean targets
authorWei Liu <wei.liu2@citrix.com>
Sun, 25 Jan 2015 14:12:51 +0000 (14:12 +0000)
committerWei Liu <wei.liu2@citrix.com>
Fri, 20 Feb 2015 10:12:39 +0000 (10:12 +0000)
commit56c002976f18dc0ff1a43bb14a339096c977a9da
treea0a40590e66ccc1f2d527b006993c58feeb331fa
parent0356d94e31bd09b84bba8dd378729ccd4c7fb5c0
Makefile: refactor build/clean/distclean targets

Factor out per-subsystem build/clean/distclean-% targets, so that we can
build subsystems independently in top level directory.

The motive behind this is after splitting out mini-os from Xen tree,
stubdom is in effect a downstream of mini-os.  I would like to have the
ability to build it independently and instrument OSSTest to test it.

Signed-off-by: Wei Liu <wei.liu2@citrix.com>
Cc: Ian Campbell <ian.campbell@citrix.com>
Cc: Ian Jackson <ian.jackson@eu.citrix.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
Makefile